home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Views / Standard Views / SolidView.h < prev    next >
Encoding:
Text File  |  1997-06-28  |  455 b   |  28 lines  |  [TEXT/CWIE]

  1. // SolidView.h
  2.  
  3. #ifndef SolidView_h
  4. #define SolidView_h
  5.  
  6. #ifndef View_h
  7. #include "View.h"
  8. #endif
  9. #ifndef HasForegroundColor_h
  10. #include "HasForegroundColor.h"
  11. #endif
  12.  
  13. class SolidView: public View,
  14.                       public HasForegroundColor
  15.   {
  16.     private:
  17.         virtual void ForegroundColorChanged();
  18.         
  19.     public:
  20.         SolidView( RGBColor theColor = NamedColors::black )
  21.           : HasForegroundColor( theColor )
  22.           {}
  23.         
  24.         virtual void Draw( const ViewMap& ) const;
  25.   };
  26.  
  27. #endif
  28.